/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: NetException.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.baselib.network.exception;

public class NetException extends RuntimeException {
    private String code;

    private String showMessage;

    public NetException(String code, String showMessage){
        this.code = code;
        this.showMessage = showMessage;
    }

    public String getShowMessage() {
        return showMessage;
    }

    public void setShowMessage(String showMessage) {
        this.showMessage = showMessage;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
